import my_keys
pickTimes = 200
def pickUp(keyCode):
    print("开始捡物")
    count = 0
    while count != pickTimes:
        my_keys.key_press(keyCode,0.01)
        count = count + 1
    print("结束捡物")
    return